package io.renren.modules.app.message.dto;

import org.springframework.context.ApplicationEvent;

/**
 * @author :
 * @version V1.0
 * @Project:
 * @Package
 * @Description: 消息已读事件
 * @date
 **/
public class JdVopMessageReadEvent extends ApplicationEvent {
    private long msgId;//消息ID

    private boolean flag;//是否消息已成功处理

    private String type;//消息类型BeanName

    public JdVopMessageReadEvent(Object source, long msgId, boolean flag, String type) {
        super(source);
        this.msgId = msgId;
        this.flag = flag;
        this.type = type;
    }

    public long getMsgId() {
        return msgId;
    }

    public boolean isFlag() {
        return flag;
    }

    public String getType() {
        return type;
    }
}
